<?php /* Smarty version 2.6.26, created on 2014-09-30 14:54:29
         compiled from D:/wamp/www/Smarty-Framework/Index/Tpl/Index/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'css', 'D:/wamp/www/Smarty-Framework/Index/Tpl/Index/index.html', 9, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
            <title>后盾问答</title>
            <meta name="keywords" content="后盾问答"/>
            <meta name="description" content="后盾问答"/>
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
            <?php echo smarty_function_css(array('file' => 'index.css'), $this);?>

            <div class='main'>
                <div id='left'>
                    <p class='left-title'>所有问题分类</p>
                    <ul class='left-list'>
                        <?php unset($this->_sections['n']);
$this->_sections['n']['loop'] = is_array($_loop=$this->_tpl_vars['data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n']['name'] = 'n';
$this->_sections['n']['show'] = true;
$this->_sections['n']['max'] = $this->_sections['n']['loop'];
$this->_sections['n']['step'] = 1;
$this->_sections['n']['start'] = $this->_sections['n']['step'] > 0 ? 0 : $this->_sections['n']['loop']-1;
if ($this->_sections['n']['show']) {
    $this->_sections['n']['total'] = $this->_sections['n']['loop'];
    if ($this->_sections['n']['total'] == 0)
        $this->_sections['n']['show'] = false;
} else
    $this->_sections['n']['total'] = 0;
if ($this->_sections['n']['show']):

            for ($this->_sections['n']['index'] = $this->_sections['n']['start'], $this->_sections['n']['iteration'] = 1;
                 $this->_sections['n']['iteration'] <= $this->_sections['n']['total'];
                 $this->_sections['n']['index'] += $this->_sections['n']['step'], $this->_sections['n']['iteration']++):
$this->_sections['n']['rownum'] = $this->_sections['n']['iteration'];
$this->_sections['n']['index_prev'] = $this->_sections['n']['index'] - $this->_sections['n']['step'];
$this->_sections['n']['index_next'] = $this->_sections['n']['index'] + $this->_sections['n']['step'];
$this->_sections['n']['first']      = ($this->_sections['n']['iteration'] == 1);
$this->_sections['n']['last']       = ($this->_sections['n']['iteration'] == $this->_sections['n']['total']);
?>
                        <li class='list-l1'>
                            <div class='list-l1-wrap'>
                                <?php if ($this->_sections['n']['first']): ?>
                                <h4><a href="<?php echo @__ROOT__; ?>
?c=list&cid=<?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['cid']; ?>
" style="color:red"><?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['title']; ?>
</a></h4>
                                <?php elseif ($this->_sections['n']['index'] > 0 && $this->_sections['n']['index'] < 3): ?>
                                <h4><a href="<?php echo @__ROOT__; ?>
?c=list&cid=<?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['cid']; ?>
" style="color:green"><?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['title']; ?>
</a></h4>
                                <?php else: ?>
                                <h4><a href="<?php echo @__ROOT__; ?>
?c=list&cid=<?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['title']; ?>
</a></h4>
                                <?php endif; ?>
                                <ul class='list-l2'>
                                    <li>
                                        <?php unset($this->_sections['m']);
$this->_sections['m']['loop'] = is_array($_loop=$this->_tpl_vars['data'][$this->_sections['n']['index']]['son']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['m']['name'] = 'm';
$this->_sections['m']['max'] = (int)3;
$this->_sections['m']['show'] = true;
if ($this->_sections['m']['max'] < 0)
    $this->_sections['m']['max'] = $this->_sections['m']['loop'];
$this->_sections['m']['step'] = 1;
$this->_sections['m']['start'] = $this->_sections['m']['step'] > 0 ? 0 : $this->_sections['m']['loop']-1;
if ($this->_sections['m']['show']) {
    $this->_sections['m']['total'] = min(ceil(($this->_sections['m']['step'] > 0 ? $this->_sections['m']['loop'] - $this->_sections['m']['start'] : $this->_sections['m']['start']+1)/abs($this->_sections['m']['step'])), $this->_sections['m']['max']);
    if ($this->_sections['m']['total'] == 0)
        $this->_sections['m']['show'] = false;
} else
    $this->_sections['m']['total'] = 0;
if ($this->_sections['m']['show']):

            for ($this->_sections['m']['index'] = $this->_sections['m']['start'], $this->_sections['m']['iteration'] = 1;
                 $this->_sections['m']['iteration'] <= $this->_sections['m']['total'];
                 $this->_sections['m']['index'] += $this->_sections['m']['step'], $this->_sections['m']['iteration']++):
$this->_sections['m']['rownum'] = $this->_sections['m']['iteration'];
$this->_sections['m']['index_prev'] = $this->_sections['m']['index'] - $this->_sections['m']['step'];
$this->_sections['m']['index_next'] = $this->_sections['m']['index'] + $this->_sections['m']['step'];
$this->_sections['m']['first']      = ($this->_sections['m']['iteration'] == 1);
$this->_sections['m']['last']       = ($this->_sections['m']['iteration'] == $this->_sections['m']['total']);
?>
                                        <a href="<?php echo @__ROOT__; ?>
?c=list&cid=<?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['son'][$this->_sections['m']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['son'][$this->_sections['m']['index']]['title']; ?>
</a>
                                        <?php endfor; endif; ?>
                                    </li>
                                </ul>
                            </div>

                            <div class='list-more hidden'>
                                <ul>
                                    <?php unset($this->_sections['m']);
$this->_sections['m']['loop'] = is_array($_loop=$this->_tpl_vars['data'][$this->_sections['n']['index']]['son']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['m']['name'] = 'm';
$this->_sections['m']['start'] = (int)3;
$this->_sections['m']['show'] = true;
$this->_sections['m']['max'] = $this->_sections['m']['loop'];
$this->_sections['m']['step'] = 1;
if ($this->_sections['m']['start'] < 0)
    $this->_sections['m']['start'] = max($this->_sections['m']['step'] > 0 ? 0 : -1, $this->_sections['m']['loop'] + $this->_sections['m']['start']);
else
    $this->_sections['m']['start'] = min($this->_sections['m']['start'], $this->_sections['m']['step'] > 0 ? $this->_sections['m']['loop'] : $this->_sections['m']['loop']-1);
if ($this->_sections['m']['show']) {
    $this->_sections['m']['total'] = min(ceil(($this->_sections['m']['step'] > 0 ? $this->_sections['m']['loop'] - $this->_sections['m']['start'] : $this->_sections['m']['start']+1)/abs($this->_sections['m']['step'])), $this->_sections['m']['max']);
    if ($this->_sections['m']['total'] == 0)
        $this->_sections['m']['show'] = false;
} else
    $this->_sections['m']['total'] = 0;
if ($this->_sections['m']['show']):

            for ($this->_sections['m']['index'] = $this->_sections['m']['start'], $this->_sections['m']['iteration'] = 1;
                 $this->_sections['m']['iteration'] <= $this->_sections['m']['total'];
                 $this->_sections['m']['index'] += $this->_sections['m']['step'], $this->_sections['m']['iteration']++):
$this->_sections['m']['rownum'] = $this->_sections['m']['iteration'];
$this->_sections['m']['index_prev'] = $this->_sections['m']['index'] - $this->_sections['m']['step'];
$this->_sections['m']['index_next'] = $this->_sections['m']['index'] + $this->_sections['m']['step'];
$this->_sections['m']['first']      = ($this->_sections['m']['iteration'] == 1);
$this->_sections['m']['last']       = ($this->_sections['m']['iteration'] == $this->_sections['m']['total']);
?>
                                    <li><a href="<?php echo @__ROOT__; ?>
?c=list&cid=<?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['son'][$this->_sections['m']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['data'][$this->_sections['n']['index']]['son'][$this->_sections['m']['index']]['title']; ?>
</a></li>
                                    <?php endfor; endif; ?>
                                </ul>
                            </div>
                        </li>
                        <?php endfor; endif; ?>
                    </ul>
                </div>

                <div id='center'>
                    <div id='animate'>
                        <div class='imgs-wrap'>
                            <ul>
                                <li>
                                    <a href=""><img src="<?php echo @__PUBLIC__; ?>
/Images/animate1.jpg" width='558' height='190'/></a>
                                </li>
                                <li>
                                    <a href=""><img src="<?php echo @__PUBLIC__; ?>
/Images/animate2.jpg" width='558' height='190'/></a>
                                </li>
                                <li>
                                    <a href=""><img src="<?php echo @__PUBLIC__; ?>
/Images/animate3.jpg" width='558' height='190'/></a>
                                </li>
                            </ul>
                        </div>
                        <ul class='ani-btn'>
                            <li class='ani-btn-cur'>0学费学习<i></i></li>
                            <li>超百G原创视频<i></i></li>
                            <li style='border:none'>有实力做后盾<i></i></li>
                        </ul>
                    </div>

                    <dl class='answer-list'>
                        <dt>
                            <span class='wait-as'>待解决问题</span>
                            <a href='<?php echo @__ROOT__; ?>
?c=list&cid=0'>更多>></a>
                        </dt>
                        <?php unset($this->_sections['n']);
$this->_sections['n']['loop'] = is_array($_loop=$this->_tpl_vars['unsolve']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n']['name'] = 'n';
$this->_sections['n']['max'] = (int)8;
$this->_sections['n']['show'] = true;
if ($this->_sections['n']['max'] < 0)
    $this->_sections['n']['max'] = $this->_sections['n']['loop'];
$this->_sections['n']['step'] = 1;
$this->_sections['n']['start'] = $this->_sections['n']['step'] > 0 ? 0 : $this->_sections['n']['loop']-1;
if ($this->_sections['n']['show']) {
    $this->_sections['n']['total'] = min(ceil(($this->_sections['n']['step'] > 0 ? $this->_sections['n']['loop'] - $this->_sections['n']['start'] : $this->_sections['n']['start']+1)/abs($this->_sections['n']['step'])), $this->_sections['n']['max']);
    if ($this->_sections['n']['total'] == 0)
        $this->_sections['n']['show'] = false;
} else
    $this->_sections['n']['total'] = 0;
if ($this->_sections['n']['show']):

            for ($this->_sections['n']['index'] = $this->_sections['n']['start'], $this->_sections['n']['iteration'] = 1;
                 $this->_sections['n']['iteration'] <= $this->_sections['n']['total'];
                 $this->_sections['n']['index'] += $this->_sections['n']['step'], $this->_sections['n']['iteration']++):
$this->_sections['n']['rownum'] = $this->_sections['n']['iteration'];
$this->_sections['n']['index_prev'] = $this->_sections['n']['index'] - $this->_sections['n']['step'];
$this->_sections['n']['index_next'] = $this->_sections['n']['index'] + $this->_sections['n']['step'];
$this->_sections['n']['first']      = ($this->_sections['n']['iteration'] == 1);
$this->_sections['n']['last']       = ($this->_sections['n']['iteration'] == $this->_sections['n']['total']);
?>
                        <dd>
                            <a href="<?php echo @__ROOT__; ?>
?c=show&asid=<?php echo $this->_tpl_vars['unsolve'][$this->_sections['n']['index']]['asid']; ?>
&cid=<?php echo $this->_tpl_vars['unsolve'][$this->_sections['n']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['unsolve'][$this->_sections['n']['index']]['content']; ?>
</a>
                            <span><?php echo $this->_tpl_vars['unsolve'][$this->_sections['n']['index']]['answer']; ?>
 回答</span>
                        </dd>
                        <?php endfor; endif; ?>
                    </dl>
                    <dl class='answer-list'>
                        <dt>
                            <span class='reward-as'>高分悬赏问题</span>
                            <a href='<?php echo @__ROOT__; ?>
?c=list&where=2&cid=0'>更多>></a>
                        </dt>
                        <?php unset($this->_sections['n']);
$this->_sections['n']['loop'] = is_array($_loop=$this->_tpl_vars['higeGrade']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n']['name'] = 'n';
$this->_sections['n']['max'] = (int)5;
$this->_sections['n']['show'] = true;
if ($this->_sections['n']['max'] < 0)
    $this->_sections['n']['max'] = $this->_sections['n']['loop'];
$this->_sections['n']['step'] = 1;
$this->_sections['n']['start'] = $this->_sections['n']['step'] > 0 ? 0 : $this->_sections['n']['loop']-1;
if ($this->_sections['n']['show']) {
    $this->_sections['n']['total'] = min(ceil(($this->_sections['n']['step'] > 0 ? $this->_sections['n']['loop'] - $this->_sections['n']['start'] : $this->_sections['n']['start']+1)/abs($this->_sections['n']['step'])), $this->_sections['n']['max']);
    if ($this->_sections['n']['total'] == 0)
        $this->_sections['n']['show'] = false;
} else
    $this->_sections['n']['total'] = 0;
if ($this->_sections['n']['show']):

            for ($this->_sections['n']['index'] = $this->_sections['n']['start'], $this->_sections['n']['iteration'] = 1;
                 $this->_sections['n']['iteration'] <= $this->_sections['n']['total'];
                 $this->_sections['n']['index'] += $this->_sections['n']['step'], $this->_sections['n']['iteration']++):
$this->_sections['n']['rownum'] = $this->_sections['n']['iteration'];
$this->_sections['n']['index_prev'] = $this->_sections['n']['index'] - $this->_sections['n']['step'];
$this->_sections['n']['index_next'] = $this->_sections['n']['index'] + $this->_sections['n']['step'];
$this->_sections['n']['first']      = ($this->_sections['n']['iteration'] == 1);
$this->_sections['n']['last']       = ($this->_sections['n']['iteration'] == $this->_sections['n']['total']);
?>
                        <dd>
                            <a href="<?php echo @__ROOT__; ?>
?c=show&asid=<?php echo $this->_tpl_vars['higeGrade'][$this->_sections['n']['index']]['asid']; ?>
&cid=<?php echo $this->_tpl_vars['higeGrade'][$this->_sections['n']['index']]['cid']; ?>
"><b>&nbsp;&nbsp;<?php echo $this->_tpl_vars['higeGrade'][$this->_sections['n']['index']]['reward']; ?>
&nbsp;&nbsp;</b>&nbsp;&nbsp;<?php echo $this->_tpl_vars['higeGrade'][$this->_sections['n']['index']]['content']; ?>
</a>
                            <span><?php echo $this->_tpl_vars['higeGrade'][$this->_sections['n']['index']]['answer']; ?>
 回答</span>
                        </dd>
                        <?php endfor; endif; ?>
                    </dl>

                </div>
                <!-- 右侧 -->
                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/right.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                <!-- 右侧结束 -->
            </div>
            <!--------------------内容主体结束-------------------->
            <div class='clear'></div>

            <!-- 底部 -->
            <div id='bottom'>
                <p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
                <p>京公安网备xxxxxxxxxxxx</p>
            </div>
            <!--[if IE 6]>
                <script type="text/javascript" src="<?php echo @__PUBLIC__; ?>
/Js/iepng.js"></script>
                <script type="text/javascript">
                    DD_belatedPNG.fix('.logo','background');
                    DD_belatedPNG.fix('.nav-sel a','background');
                    DD_belatedPNG.fix('.ask-cate i','background');
                </script>
            <![endif]-->
            </body>
            </html>
            <!-- 底部结束 -->